package request

type ProductCreate struct {
	ProductName     string  `json:"product_name" form:"product_name"`
	ProductGrouping string  `json:"product_grouping" form:"product_grouping"`
	ProductCode     string  `json:"product_code" form:"product_code"`
	ProductModel    string  `json:"product_model" form:"product_model"`
	Unit            int     `json:"unit" form:"unit"`
	CostPrice       float64 `json:"cost_price" form:"cost_price"`
	Price           float64 `json:"price" form:"price"`
	Status          int     `json:"status" form:"status"`
	Stock           int     `json:"stock" form:"stock"`
	Notes           string  `json:"notes" form:"notes"`
	Image           string  `json:"image" form:"image"`
	SupplierId      int     `json:"supplierId" form:"supplierId"`
}

type List struct {
	ProductGrouping string `json:"product_grouping" form:"product_grouping"`
}

type Update struct {
	Status int `json:"status" form:"status"`
	Id     int `json:"id" form:"id"`
}
